//
//  DevicesCurrentTemperature-OFA_IFA_IFC_INA.h
//  iRMAP
//
//  Created by Ryan Enguero on 4/4/14.
//  Copyright (c) 2014 engueroryan. All rights reserved.
//

#import "Devices.h"

@interface DevicesCurrentTemperature_OFA_IFA_IFC_INA : Devices

@property (strong, nonatomic) NSString *chamberTemperatureSensorStr;
@property (strong, nonatomic) NSString *chamberSetPointStr;
@property (strong, nonatomic) NSString *deviceTypeStr;

- (NSString*)chamberTemperatureSensor;
- (NSString*)chamberSetPoint;
- (NSString*)deviceType;

+ (DevicesCurrentTemperature_OFA_IFA_IFC_INA*)devicesWithFreezerID:(NSString*)freezerID andUID:(NSString*)uid andDeviceName:(NSString*)deviceName andCompanyId:(NSString*)companyID andMeasureStatus:(NSString*)measureStatus andMeasureName:(NSString*)measureName andMeasureDescription:(NSString*)measureDescription andMeasureSeverity:(NSString*)measureSeverity andHealthStatusCode:(NSString*)healthStatusCode andHealthStatusText:(NSString*)healthStatustext andHealthStatusColor:(NSString*)healthStatusColor andConnectionState:(NSString*)connectionState andChamberTemperatureSensor:(NSString*)chamberTemperatureSensor andChamberSetPoint:(NSString*)chamberSetPoint andDeviceType:(NSString*)deviceType;

@property (strong, nonatomic) NSString *occuranceTimeStr;
@property (strong, nonatomic) NSString *highTemperatureLimitStr;
@property (strong, nonatomic) NSString *lowTemperatureLimitStr;

- (NSString*)occuranceTime;
- (NSString*)highTemperatureLimit;
- (NSString*)lowTemperatureLimit;

+ (DevicesCurrentTemperature_OFA_IFA_IFC_INA*)devicesWithFreezerID:(NSString*)freezerID andChamberTemperatureSensor:(NSString*)chamberTemperatureSensor andChamberSetPoint:(NSString*)chamberSetPoint andDeviceType:(NSString*)deviceType andOccuranceTime:(NSString*)occuranceTime andHighTemperatureLimit:(NSString*)highTemperatureLimit andLowTemperatureLimit:(NSString*)lowTemperatureLimit;

//

@property (strong, nonatomic) NSString *occuranceTimeAlarmStr;
@property (strong, nonatomic) NSString *alarmCodeAlarmStr;
@property (strong, nonatomic) NSString *alarmTextAlarmStr;
@property (strong, nonatomic) NSString *measureStatusAlarmStr;
@property (strong, nonatomic) NSString *measureNameAlarmStr;
@property (strong, nonatomic) NSString *measureDescriptionAlarmStr;
@property (strong, nonatomic) NSString *measureSeverityAlarmStr;
@property (strong, nonatomic) NSString *cronStatusAlarmStr;

- (NSString*)occuranceTimeAlarm;
- (NSString*)alarmCodeAlarm;
- (NSString*)alarmTextAlarm;
- (NSString*)measureStatusAlarm;
- (NSString*)measureNameAlarm;
- (NSString*)measureDescriptionAlarm;
- (NSString*)measureSeverityAlarm;
- (NSString*)cronStatusAlarm;

+ (DevicesCurrentTemperature_OFA_IFA_IFC_INA*)alarmDevicesType:(NSString*)deviceType andFreezerID:(NSString*)freezerID andFreezerName:(NSString*)freezerName andCompanyID:(NSString*)companyID andChamberTemperaturesSensor:(NSString*)chamberTemperatureSensor andChamberSetPoint:(NSString*)chamberSetPoint andOccuranceTime:(NSString*)occuranceTime andAlarmCode:(NSString*)alarmCode andAlarmText:(NSString*)alarmText andMeasureStatus:(NSString*)measureStatus andMeasureName:(NSString*)measureName andMeasureDescription:(NSString*)measureDescription andMeasureSeverity:(NSString*)measureSeverity andCronStatus:(NSString*)cronStatus;

@property (strong, nonatomic) NSString *occuranceTimeEventStr;
@property (strong, nonatomic) NSString *eventCodeStr;

- (NSString*)occuranceTimeEvent;
- (NSString*)eventCode;

+ (DevicesCurrentTemperature_OFA_IFA_IFC_INA*)eventDeviceType:(NSString*)deviceType andFreezerID:(NSString*)freezerID andFreezerName:(NSString*)freezerName andCompanyID:(NSString*)companyID andChamberTemperatureSensor:(NSString*)chamberTemperatureSensor andChamberSetPoint:(NSString*)chamberSetPoint andOccuranceTime:(NSString*)occuranceTime andEventCode:(NSString*)eventCode;
@end
